<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../config.inc.php");

$endTime = Getmicrotime ();
$RunTime = 'RunTime:'. ($endTime - $startTime);

$fp = @file(__Membertemplate_Path."/throughcheckout_success.html");
$fp = implode("", $fp);
$fp = setHTMLCharset($fp);

$fp = str_replace("{Account}", $_SESSION[Member_Info] -> Account, $fp);
$fp = str_replace("{Currency}", $_ECRate[$_SESSION[Member_Info] -> ERID][$_intLang], $fp);
$fp = str_replace("{CreditLine}", $_SESSION[Member_Info] -> CreditLine, $fp);
$fp = str_replace("{CreditAlreadyUse}", $_arrMemStake["_SUM"], $fp);
$fp = str_replace("{CreditSurplus}", $CreditSurplus, $fp);
$fp = str_replace("{TotalStakeMoney}", $_data["StakeMoney"], $fp);
$fp = str_replace("{PayOffValue}", $PayOffValue, $fp);

$fp = str_replace("{ChoiceStatus}", $ChoiceStatus, $fp);

while(list($k, $v) = each($_strMainThroughCkeckOutInsert)){
	$fp = str_replace("{".$k."}", $v, $fp);
}

$fp = str_replace("{RunTime}", $RunTime, $fp);
//輸出
WebOutputHTML($fp, 1);
?>